<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页严选商品分类列表</title>
<#include "/view/admin/headList.html"/>
    <script type="text/javascript">

        $(function() {
            //初始化
        });
    </script>
</head>
<body>



<div class="table-class">
    <div class="panel panel-default" style="margin: 10px 10px 10px;">
     <div class="panel-body">
        <form class="bs-example bs-example-form" role="form">









            <div class="input-group" style="text-align: right;">
                <a class="btn btn-info"  href="javascript:query('${base}/czjselectclassify/list.do')"><span class="glyphicon glyphicon-search"></span> 查找</a>

            </div>
        </form>
     </div>
    </div>


    <table class="table table-hover table-list">
        <thead>
        <tr>
            <td class="table-head-btn">
                <div style="text-align:left;margin-left: 50px;">
                    <a href="${base}/czjselectclassify/add.do" class="btn btn-primary">新增</a>
                </div>
            </td>
        </tr>
        <tr class="table-head">
            <th>序号</th>
                <th class="label-hidden">主键</th>

                <th>商品分类</th>
                <th>图片</th>

                <th>排序</th>

            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <#list pagination.list as c>
            <tr>
                <td>${(pagination.pageNo-1)*pagination.pageSize+1+c_index}</td>
                        <td class="label-hidden">${c.selectclassifyId!}</td>


                        <td> 
                            <#if c.commoditytypeId??>
                                    <#list listCommoditytypeId as lv>
                                        <#if lv.value??&&c.commoditytypeId == lv.value >
                                        ${lv.name!}
                                        </#if>
                                    </#list>

                            </#if>
                        </td>
                        <td><img src="${base}${c.picPath!}" height="50px"></td>


                            <td>${c.priority!}</td>


                <td>
                    <a href="${base}/czjselectclassify/detail.do?selectclassifyId=${c.selectclassifyId!}" class="btn btn-primary">详情</a>
                    <a href="${base}/czjselectclassify/add.do?selectclassifyId=${c.selectclassifyId!}" class="btn btn-primary">修改</a>
                    <a href="javascript:checkDelete('${base}/czjselectclassify/delete.do?selectclassifyId=${c.selectclassifyId!}')" class="btn btn-primary">删除</a>
                </td>
            </tr>








        </#list>
        </tbody>
    </table>


</div>
<script>

    function queryCondition(){
        var href="";

        return href;
    }

</script>

</body>
</html>
